package com.hrt.manage.sms.modual.service;

import java.sql.Timestamp;
import java.util.List;
import java.util.Map;

import com.hrt.bean.SMSModual;

public interface SMSModualService {

	public List<SMSModual> listModuals();

	public List<SMSModual> queryByPage(int pageIndex, int pageSize);

	public Long totalCount();

	public List<SMSModual> queryByPage(List<Map<String, Object>> conditions,
			Integer pageIndex, Integer pageSize);

	public Timestamp getDate();

	public Long saveModual(SMSModual modual);

	public Long[] deleteById(Long[] idArr);

	public SMSModual getModualById(Long moId);
	
	
	

	public void updateModual(SMSModual oldModual);

	/**
	 * 根据业务类型代码获取短信模版数据
	 * @param bussinessCode
	 * @return
	 */
	public	SMSModual getModualByBusinessCode(Integer businessCode);

}
               